// pages/activity/tree/exchange.js
Page({
  data: {
    list: []
  },
  onLoad(options) {
    this.getList();
  },
  onShareAppMessage() {},
  getList() {
    getApp().globalData.http.tree_friuteList().then(res => {
      this.setData({
        list: res.data
      });
    });
  },
  navTo(e) {
    wx.navigateTo({
      url: e.currentTarget.dataset.path,
    });
  }
})